#!/usr/bin/node

const log = console.log;
const koa = require('koa');

let app = new koa();

//加载使用中间件
app.use((ctx,next)=>{
  //requset parse
  //make response
  ctx.body='hello koa';
});
app.listen(3000);
log('hello world');

